package org.mall.common.api.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import lombok.experimental.Accessors;
import org.mall.common.util.jsonschema.Long2StringSerializer;
import org.mall.common.util.jsonschema.String2LongDeserialize;

/***
 *@author yinxucun
 *@date 2019-12-03 16:21 
 */
@Data
@Accessors(chain = true)
public class MessageDTO {

    @JsonSerialize(using = Long2StringSerializer.class)
    @JsonDeserialize (using = String2LongDeserialize.class)
    private Long id;

}
